export interface GetInfoResponse {
  name: string
  avatar: string
  routes: string[]
  buttons: string[]
}

export interface LoginResponse {
  token: string
}

export interface IuserListParams {
  page: number
  limit: number
  keyword?: string
  status?: number
  authStatus?: number
  createTimeBegin?: string
  createTimeEnd?: string
}

export interface IuserItem {
  id: number
  createTime: string
  updateTime: string
  isDeleted: number
  param: {
    certificatesTypeString: null
    statusString: string
    authStatusString: string
  }
  openid: null
  nickName: null
  phone: string
  name: string
  certificatesType: null
  certificatesNo: null
  certificatesUrl: null
  authStatus: number
  status: number
}

export type IuserType = IuserItem[]

export interface IuserListResponse {
  records: IuserType
  total: number
}
